package com.wwj.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "t_user")
public class User {
    @TableId(value = "userId", type = IdType.INPUT)
    private Integer userid;

    @TableField(value = "username")
    private String username;

    @TableField(value = "password")
    private String password;

    public static final String COL_USERID = "userId";

    public static final String COL_USERNAME = "username";

    public static final String COL_PASSWORD = "password";
}